<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <ul id="list">
        <list>1</list>
        <list>2</list>
        <list>3</list>
        <list>4</list>
        <list>5</list>
    </ul>
    <script>
        const list = document.getElementById('list');
        list.addEventListener('click',function(event){
            console.log(event);
        })
    </script>
</body>
</html>